package com.testshiro.service.impl;

import java.util.List;

import org.apache.log4j.Logger;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.base.service.BaseServiceImpl;
import com.testshiro.dao.SysAuthoDao;
import com.testshiro.entity.SysAutho;
import com.testshiro.model.ListBean;
import com.testshiro.service.SysAuthoService;
import com.testshiro.utils.DataSource;

/**
 * 
 * <br>
 * <b>功能：</b>SysAuthoService<br>
 */
@Service("sysauthoService")
public class  SysAuthoServiceImpl  extends BaseServiceImpl implements SysAuthoService {
  private final static Logger log= Logger.getLogger(SysAuthoServiceImpl.class);
	

	@Resource
    private SysAuthoDao dao;

		
	public SysAuthoDao getDao() {
		return dao;
	}

	@DataSource(value="mysqlDataSource1")
	@Override
	public List<ListBean> queryAuthoForSet(SysAutho queryObj) {
		return dao.queryAuthoForSet(queryObj);
	}

	@DataSource(value="mysqlDataSource2")
	@Override
	public List<ListBean> queryAuthoForSet2(SysAutho queryObj) {
		return dao.queryAuthoForSet(queryObj);
	}

}
